package cn.itcast.bos.service.base;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.Area;

public interface IAreaService {
    // 导入Excel文件
    void batchImportArea(List<Area> areas);

    // 有条件分页查询
    Page<Area> pageQueryArea(Specification<Area> specification, Pageable pageable);

    // 查询全部
    List<Area> findAllArea();

}
